Data detection in parallel data streams

ABSTRACT

For identifying or localizing a serial data stream in a deserialized output provided at a plurality of n output ports (PORT 1 -PORT 5 ), a pattern recognition is provided at each one of the plurality of n output ports (PORT 1 -PORT 5 ) for recognizing a deserialized identifier pattern corresponding to an identifier pattern within the serial data stream and for detecting a phase of the deserialized identifier pattern in the deserialized output. The phase of the output of each respective port (PORT 1 -PORT 5 ) is then shifted in correspondence with the detected phase of the deserialized identifier pattern.

BACKGROUND OF THE INVENTION

[0001] The present invention relates to testing multiplexing devices.

[0002] Testing multiplexing devices, i.e. devices with a plurality of ports (inputs/outputs) on one side and one port (output/input) on the other side, has become increasingly important.

[0003] A typical application for such multiplexing devices is a serializer receiving a plurality of parallel data ports and providing therefrom a serialized data stream on one output port. In a sequential and circular manner, the serializer addresses each one of the parallel input ports and provides a portion of the applied data signal of that input port as output to the serialized output port. Thus, parallel data streams can be converted into a serial data stream, whereby typically the data transmission rate at the serialized output of a serializer with n parallel input ports is n-times the data transmission speed of each parallel input port.

[0004] Another important application of multiplexing devices are deserializers working in the opposite direction as serializers, so that a serial input stream is deserialized, i.e. converted into a parallel output stream.

[0005] Serializer/Deserializer-Devices (SerDes) allow serial/parallel data stream conversion in either way.

[0006] In its deserializing mode, multiplexing devices are typically tested by providing a known serial data stream and comparing the received deserialized data pattern at the parallel side with an expected deserialized data pattern. However, for safely comparing actually received with expected data pattern, it is essential to clearly identify data pattern corresponding to the applied data pattern in the received data stream.

SUMMARY OF THE INVENTION

[0007] It is an object of the present invention to provide an improved testing of multiplexing devices in their deserializing mode. The object is solved by the independent claims. Preferred embodiments are shown by the dependent claims.

[0008] The present invention allows testing a multiplexing device adapted for receiving a serial data stream at an input port and providing a deserialized output at a plurality of n output ports. For testing the multiplexing device, a known serial data sequence is applied to its input port, and the actually received deserialized output at the output ports is compared with an expected output signal. Deviations of the actually received output signal from the expected output signal may indicate a malfunctioning of the multiplexing device.

[0009] In order to synchronize the received with the expected output data pattern, the invention provides a pattern recognition on the deserialized output signal and, when the pattern has been detected, a phase shifting of the received output patterns in correspondence with a detected phase of the detected pattern. Thus, the invention allows to identify the provided serial input data into the deserialized output, so that such actually received output pattern can be compared with expected output pattern that are also expected to correspond to each other. Erroneous interpretations of the applied testing, e.g. due to a phase shift between the received and the expected data patterns can thus be reduced or even be avoided.

[0010] In a preferred embodiment, a data pattern within the deserialized output corresponding to a known data pattern provided at the serial input of the multiplexing device is identified by detecting an identifier in one of the parallel outputs and providing a phase shift of the received data pattern in the other output ports in correspondence with the detected identifier. Preferably, a starting sequence of the applied data sequence to be identified in the deserialized output can serve as such identifier.

[0011] In a preferred embodiment, k data bits (e.g. the first k data bits) of a serial data sequence to be identified in the deserialized output serve as identifier pattern. The k serial data bits are converted into a deserialized identifier pattern. Preferably, the deserialized identifier pattern represents the first data bit, the data bit number (n+1), the data bit number (2n+1), . . . , and the data bit number (2i+1) of the serial identifier pattern, whereby n is the number of output ports and (2i+1)≠k or, in other words, i≠(k−1)/2 with i as an integer value.

[0012] The deserialized identifier pattern is applied to each of the output ports, and pattern recognition of the received output with the deserialized identifier pattern is provided for each one of the output ports. When the deserialized identifier pattern is detected in one of the output ports, the identifier pattern is assumed to have been identified. The phase of each one of the other output ports has to be adjusted to the phase of the output port where the deserialized identifier pattern has been detected. Thus, the serial input pattern can be identified within the deserialized output, and a meaningful testing (e.g. by comparing the received with an expected output) can be provided.

[0013] The identifier pattern preferably represents the first valid data bits of a data stream. However, any other identifier pattern can be provided accordingly. In particular, the identifier might represent a data portion independent of the serial data input that is only provided for synchronizing the parallel with the serial data stream.

[0014] The invention can be partly or entirely embodied or supported by one or more suitable software programs, which can be stored on or otherwise provided by any kind of data carrier, and which might be executed in or by any suitable data processing unit. In particular, software tools can be applied e.g. for providing the deserialized identifier pattern, for programming synchronization hardware or sequencers, and for distributing the expected data pattern.

[0015] Hardware tools are preferably applied for aligning the phases to the detected deserialized identifier pattern. In particular for providing acceptable execution time, real time processing might require hardware solutions e.g. avoiding that large memories must be reloaded while a measurement is in progress.

BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Other objects and many of the attendant advantages of the present invention will be readily appreciated and become better understood by reference to the following detailed description when considering in connection with the accompanied drawing.

[0017]FIG. 1 illustrates the invention in an example with a demultiplexer 10.

DETAILED DESCRIPTION OF THE INVENTION

[0018] In FIG. 1, a demultiplexer 10 receives a serial data stream at its input port PORT0 and provides therefrom a deserialized output at its output ports PORT1 to PORT5.

[0019] In the example of FIG. 1, PORT0 receives a data stream denoted as (a) or (b), whereby non-valid bits are denoted as “X”. In data stream (a) valid bits are numbered by its position, so that “1” denotes the first valid bit, “2” denotes the second valid bit, “3” denotes the third valid bit, etc. Data stream (b) gives an example of a digital bit stream with valid bits either being a logical “1” or “0”. Both bit streams (a) and (b) are provided for the sake of better understanding.

[0020] In operation, the demultiplexer 10 deserializes the serial input data stream at PORT0 to a parallel data stream at its output ports PORT1 to PORT5. Using the notation of data stream (a), PORT1 thus outputs a bit sequence of the positions “X-3-8-13”, PORT2 outputs bit positions “X4-9”, and so on. Using the notation of data stream (b), PORT1 outputs a data stream “X101”, PORT2 outputs “X11”, and so on.

[0021] In order to synchronize the output of demultiplexer 10 with the data stream provided to its input PORT0 or, in other words, in order to identify a valid data stream provided to the input of PORT0 in the parallel output of PORT1 to PORT5 the starting bit sequence with bit positions 1 to 11 in (a) is used as identifier. The serial identifier pattern of valid bit positions 1 to 11 is first deserialized, starting with bit position “1”. This leads to the deserialized data pattern of bit positions “1-6-11” of (a) or data pattern “101” of (b).

[0022] A pattern search for the deserialized identifier pattern is then provided for each one of the output ports PORT1 to PORT5. In the example of FIG. 1, the deserialized identifier pattern is recognized at PORT4 starting with phase p of the parallel output. It is then assumed that the valid data stream starts at PORT4 with phase p. Accordingly, the valid phases of the other ports PORT1 to PORT3 and PORT5 have to be adjusted. For all ports greater than the port where the deserialized identifier pattern has been found, the same phase as the phase of the port where the deserialized identifier pattern has been found is assumed. For all other ports, the successive phase is assumed as the valid phase. In the example of FIG. 1 the valid phase of PORT5 is assumed to be the same phase p as for PORT4, while the valid phase for the ports PORT1 to PORT3 is assumed to be the successive phase (p+1).

[0023] In order to test the functionality of the demultiplexer 10, the received outputs at the ports PORT1 to PORT5 can then be compared with expected output patterns once the valid input pattern has been identified in the output pattern and the phases of the output pattern have been adjusted accordingly.

[0024] As apparent from the example of FIG. 1, the deserialized identifier pattern “101” will also be found on PORT1 starting with phase (p+1). It is therefore clear, that in order to reduce the likelihood of such ambiguities further measures might have to be taken. One possibility is to increase the number of bits in the deserialized identifier pattern. Another possibility could be to provide a pattern search with more than one deserialized identifier pattern, so that e.g. a second deserialized identifier pattern “2-7-12” (notation (a)) has to be found in the successive port, once the first deserialized identifier pattern “1-6-11” (notation (a)) has been found. A further possibility is to use a defined serial input stream with a defined repetition of patterns such as a pseudo random bit stream (PRBS). The length of the deserialized identifier pattern can then be adjusted to the defined serial input bit stream, so that valid repetitions of the deserialized identifier pattern in the output data stream is avoided for properly working devices to be tested.

[0025] To assure a correct pattern recognition and therefore synchronization, the pattern identifier (or so called detect word) is preferably provided with sufficient length (e.g. 48 bits) and additionally should be unique.

[0026] From the foregoing it has to become apparent, that a synchronization of the deserialized output to a valid data stream can only provided once the serialized identifier pattern has been detected. This, in the inverse, also allows identifying a fault in the demultiplexer 10 in case that the valid data sequence cannot be identified in the deserialized output (synchronization fails). 

1. A system for identifying or localizing a serial data stream in a deserialized output or for synchronizing the deserialized output with the serial data stream, whereby the serial data stream is applied to an input port (PORT0) of a multiplexing device (10) and the deserialized output is provided at a plurality of n output ports (PORT1-PORT5) of the multiplexing device (10), the system comprising: pattern recognition units coupled to each one of the plurality of n output ports (PORT1-PORT5) and being adapted for recognizing a deserialized identifier pattern corresponding to an identifier pattern within the serial data stream and for detecting a phase of the deserialized identifier pattern in the deserialized output, and phase shifting units coupled to each one of the plurality of n output ports (PORT1-PORT5) and being adapted for shifting the phase of the output of each respective port (PORT1-PORT5) in correspondence with the detected phase of the deserialized identifier pattern.
 2. The system of claim 1, further comprising a deserializing unit for deserializing the identifier pattern within the serial data stream to the deserialized identifier pattern.
 3. A testing unit for testing a multiplexing device (10) adapted for receiving a serial data stream at an input port (PORT0) and for providing a deserialized output at a plurality of n output ports (PORT1-PORT5), whereby a known serial data sequence is applied to the input port (PORT0), the testing unit comprising: a detecting system for detecting the known serial data sequence in the deserialized output, whereby the serial data stream is applied to an input port (PORT0) of a multiplexing device (10) and the deserialized output is provided at a plurality of n output ports (PORT1-PORT5) of the multiplexing device (10), the detecting system comprising: pattern recognition units coupled to each one of the plurality of n output ports (PORT1-PORT5) and being adapted for recognizing a deserialized identifier pattern corresponding to an identifier pattern within the serial data stream and for detecting a phase of the deserialized identifier pattern in the deserialized output, and phase shifting units coupled to each one of the plurality of n output ports (PORT1-PORT5) and being adapted for shifting the phase of the output of each respective port (PORT1-PORT5) in correspondence with the detected phase of the deserialized identifier pattern; a comparator unit for comparing the deserialized output corresponding to the known serial data sequence with an expected output signal, and an analyzing unit for analyzing deviations of the deserialized output corresponding to the known serial data sequence with the expected output signal.
 4. A method for identifying or localizing a serial data stream in a deserialized output provided at a plurality of n output ports (PORT1-PORT5) or for synchronizing the deserialized output with the serial data stream, the system comprising: (a) providing a pattern recognition at each one of the plurality of n output ports (PORT1-PORT5) for recognizing a deserialized identifier pattern corresponding to an identifier pattern within the serial data stream and for detecting a phase of the deserialized identifier pattern in the deserialized output, and (b) shifting the phase of the output of each respective port (PORT1-PORT5) in correspondence with the detected phase of the deserialized identifier pattern.
 5. The method of claim 4, further comprising a step prior to step (a) of deserializing the identifier pattern within the serial data stream to the deserialized identifier pattern.
 6. A method for testing a multiplexing device (10) adapted for receiving a serial data stream at an input port (PORT0) and for providing a deserialized output at a plurality of n output ports (PORT1-PORT5), the method comprising the steps of: (a) applying a known serial data sequence to the input port (PORT0), (b) detecting the known serial data sequence in the deserialized output by: (b1) providing a pattern recognition at each one of the plurality of n output ports (PORT1-PORT5) for recognizing a deserialized identifier pattern corresponding to an identifier pattern within the serial data stream and for detecting a phase of the deserialized identifier pattern in the deserialized output, and (b1) shifting the phase of the output of each respective port (PORT1-PORT5) in correspondence with the detected phase of the deserialized identifier pattern. (c) comparing the deserialized output corresponding to the known serial data sequence with an expected output signal, and (d) analyzing deviations of the deserialized output corresponding to the known serial data sequence with the expected output signal.
 7. A software program or product, preferably stored on a data carrier, for executing any one of the methods of claims 4 or 6 when run on a data processing system such as a computer. 